{include file="header.tpl" title="Cashgroup"}

<form action="" method="post" target="_self" name="position">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td colspan="2">
 <span style="color:#FF0000">{$checkvalue}</span></td>
</tr>
<tr>
<td width="28%">
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="5">
<select name="hanhdong" size="1" onchange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="6"><hr></td>
</tr>

	<tr>
		<td nowrap="nowrap">{$lbl_AWCODE}</td>
		<td align="left" colspan="3">
			<input type="text" name="AWCODE" value="{$AWCODE}" maxlength="10" size="25" style="background:{$colorAWCODE};" onkeyup="this.value=this.value.toUpperCase().replace(' ','');"/>									      	</td>
	</tr>

	<tr>
		<td nowrap="nowrap">{$lbl_AWDESC}</td>
		<td align="left" colspan="3">
 			<input type="text" name="AWDESC" value="{$AWDESC}" maxlength="50" size="50" style="background:{$colorAWDESC};"/>		 		</td>
	</tr>



  <tr>
  	<td nowrap="nowrap">{$lbl_BRNCODE}</td>
    <td align="left" colspan="3">  
		<select name="BRNCODE" size="1" style="width:270px;">
			{foreach from=$arrBRNCODE key=k item=v}
			  <option value="{$k}" {if $BRNCODE eq $k} selected="selected" {/if}>{$v}</option>
			{/foreach}
		</select>	</td>
  </tr>
  
   <tr>
  	
	<td width="28%" nowrap="nowrap">{$lbl_CIFTYPE}</td>
    <td width="72%"  align="left" colspan="3">  
		<select name="CIFTYPE" size="1" style="width:270px;">
			{foreach from=$arrCIFTYPE key=k item=v}
			  <option value="{$k}" {if $CIFTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach}
		</select>	</td>
  </tr>
  	
  
	<tr>
		<td nowrap="nowrap">{$lbl_CURMIN}</td>
		<td align="left" colspan="3">
			<input type="text" name="CURMIN" value="{$CURMIN}" maxlength="23" size="25" style="background:{$colorCURMIN};text-align:right;" onBlur="checkCurrency20(this,this.value); formatNumber(this,this.value);" onkeypress="return numberOnly4(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/>		
			
			<select name="CURRCD" id="CURRCD" size="1" style="width:75px;">
				<option value=""></option>
				{foreach from=$arrCURRCD item=curr}
					<option value="{$curr}" {if $curr eq $activeCURRCD} selected="selected" {/if} >{$curr}</option>
				{/foreach}
			</select>			</td>
	</tr>
	
	<tr>
		<td nowrap="nowrap">{$lbl_TERM}</td>
		<td align="left" colspan="3"><input type="text" name="TERM" value="{$TERM}" maxlength="3" size="25" style="background:{$colorTERM};text-align:right;" onkeypress="return numberOnly(event);"/>
	  <select name="TERMCD" size="1">
				{foreach from=$cbo_CurCodeFDAWPRD key=k item=v}
				  <option value="{$k}" {if $TERMCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
				{/foreach}
			</select>	</tr>
	
	<tr>
		<td nowrap="nowrap">{$lbl_EFFDATE}</td>
		<td align="left" colspan="3">
			<input type="text" name="EFFDATE" value="{$EFFDATE}" maxlength="10" size="25" onclick="event.cancelBubble=true;this.select();lcs(this);" style="background:{$colorEFFDATE}; text-align:left;"/>		</td>
	</tr>

	<tr>
		<td nowrap="nowrap">{$lbl_EXPDATE}</td>
		<td align="left" colspan="3">
			<input type="text" name="EXPDATE" value="{$EXPDATE}" maxlength="10" size="25" onclick="event.cancelBubble=true;this.select();lcs(this);" style="background:{$colorEXPDATE}; text-align:left;"/>		</td>
	</tr>


	<tr>
		<td nowrap="nowrap">{$lbl_AWRATE}</td>
		<td align="left">
			<input type="text" name="AWRATE" value="{$AWRATE}" maxlength="12" size="25" style="background:{$colorAWRATE};text-align:right;"  onBlur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/> %		</td>
	</tr>
	<tr>
		<td nowrap="nowrap">{$lbl_GLACT}</td>
		<td align="left"><input type="text" id="GLACT" name="GLACT" value="{$GLACT}" maxlength="10" size="25" style="background:{$colorGLACT};"/>
		<input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLACT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="findlaisuat2235" id="replacement_binoculars" value="     " />		</td>
	</tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_SPENDCD}</td>
	  <td align="left"><select name="SPENDCD" size="1" id="SPENDCD">
	    <option value=""></option>
				{foreach from=$cbo_SPENDCD key=k item=v}
				  
	    <option value="{$k}" {if $SPENDCD eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
				{/foreach}
			
	    </select>	  </td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_PMTMODE}</td>
	  <td align="left"><select name="PMTMODE" size="1" id="PMTMODE">
        <option value=""></option>
	   {foreach from=$cbo_PMTMODE key=k item=v}
		<option value="{$k}" {if $pmtmode eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    {/foreach}
		</select></td>
    </tr>
	<!--<tr>
	  <td nowrap="nowrap">{$lbl_AWRTTYPE}</td>
	  <td align="left"><select name="AWRTTYPE" size="1" id="AWRTTYPE">
        <option value=""></option>
	    
	   -{foreach from=$cbo_AWRTTYPE key=k item=v}
		
	    <option value="{$k}" {if $AWRTTYPE eq $k} selected="selected" {/if}>{$k} - {$v}</option>
	    
	   - {/foreach}
		
      </select></td>
    </tr>-->
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTMIN}</td>
	  <td align="left"><input type="text" name="AWRTMIN" value="{$AWRTMIN}" maxlength="12" size="25" style="background:{$colorAWRTMIN};text-align:right;"  onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTMAX}</td>
	  <td align="left"><input type="text" name="AWRTMAX" value="{$AWRTMAX}" maxlength="12" size="25" style="background:{$colorAWRTMAX};text-align:right;"  onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
    </tr>
	<tr>
	  <td nowrap="nowrap">{$lbl_AWRTSTE}</td>
	  <td align="left"><input type="hidden" name="AWRTSTEP" value="{$AWRTSTEP}" maxlength="12" size="25" style="background:{$colorAWRTSTEP};text-align:right;"  onblur="checkDecimal(this,this.value)" onkeypress="return numberOnly(event);" onchange="allowOnlyFloatingPointNumbers(this,this.value);"/></td>
    </tr>	
	<tr>
		<td colspan="2" nowrap="nowrap">
		<div class="tableContainer" >
		<table class="tborder" width="79%" border="0" cellpadding="5" cellspacing="1">
          <thead>
            <tr>
              <th width="5%"><input type="checkbox" name="test_all_check" onclick="switchSetting_disable(this,'checkGD[]')" /></th>
              <th width="20%">{$lbl_AWPRD}</th>
              <th width="39%">{$lbl_PRDCODE}</th>
            </tr>
          </thead>
		  {$datagd}
	    </table></div>		</td>
	</tr>

<td colspan="6" align="right">
  
  <input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="6">
<hr></td>
</tr>

<tr>
<td>
<input type="button" value="{$ten_trove}" onclick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="6">
<select name="hanhdong1" size="1" onchange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
